cmake_minimum_required(VERSION 3.25)
set(BUILD_APP_NAME test_json2struct)

## 查找和导入 OpenCV 的配置
#find_package(OpenCV REQUIRED)
#

set(SRC_LIST
        ${CMAKE_CURRENT_SOURCE_DIR}/test_json2struct.cpp)

add_executable(${BUILD_APP_NAME} ${SRC_LIST})

## 将 OpenCV 的头文件目录添加到编译选项中
#target_include_directories(${BUILD_APP_NAME} PUBLIC
#        ${OpenCV_INCLUDE_DIRS})
## 将 OpenCV 的库链接到可执行文件
target_link_libraries(${BUILD_APP_NAME}
        gtest
        )
